package org.ouwh.oowiki.ctrl;

import org.ouwh.oowiki.http.MyException;
import org.ouwh.oowiki.http.MyRequest;
import org.ouwh.oowiki.http.MyResponse;

public interface IController {
	public MyResponse execute(MyRequest request) throws MyException;

	public void addRoundInterceptor(IRoundControllerInterceptor interceptor);

	public void removeRoundInterceptor(IRoundControllerInterceptor interceptor);

	public void addBeforeInterceptor(IBeforeControllerInterceptor interceptor);

	public void removeBeforeInterceptor(IBeforeControllerInterceptor interceptor);

	public void addAfterInterceptor(IAfterControllerInterceptor interceptor);

	public void removeAfterInterceptor(IAfterControllerInterceptor interceptor);

	public String getControllerName();

	public void setControllerName(String controllerName);
}
